<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp"%>
<c:set value="${requestScope.response.data.one }" var="box"/>
<!DOCTYPE HTML>
<html>
<head>
<%@ include file="/common/include/title.jsp"%>
<title>盲盒详情 - 盲盒商城系统</title>
</head>
	<body>
		<nav class="breadcrumb">
			<i class="Hui-iconfont">&#xe67f;</i> 首页 
			<span class="c-gray en">&gt;</span> 商品管理 
			<span class="c-gray en">&gt;</span> 盲盒详情
			<a class="btn btn-success radius r"
				style="line-height: 1.6em; margin-top: 3px"
				href="javascript:location.replace(location.href);" title="刷新">
				<i class="Hui-iconfont">&#xe68f;</i>
			</a>
		</nav>
		<article class="page-container">
			<form class="form form-horizontal" id="formSubmit"
				action="${rootPath}/back/goods/goodsList">
				<input type="hidden" name="id" value="${box.id}">
				<%-- <div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">盲盒数量：</label>
					<div class="formControls col-xs-8 col-sm-9 skin-minimal">
						${goods.blindBoxNumber}</div>
				</div> --%>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red"></span>
						数量：
					</label>
					<div class="formControls col-xs-8 col-sm-9">
						${box.blindBoxNumber}
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red"></span>
						介绍：
					</label>
					<div class="formControls col-xs-8 col-sm-9">
						${box.blindBoxIntroduce}
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2"> <span
						class="c-red"></span>状态：
					</label>
					<div class="formControls col-xs-8 col-sm-9">
						${box.statusStr}
					</div>
				</div>
				
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2"> <span
						class="c-red"></span>创建时间：
					</label>
					<div class="formControls col-xs-8 col-sm-9">
						${box.createTime}
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2"> <span
						class="c-red"></span>更新时间：
					</label>
					<div class="formControls col-xs-8 col-sm-9">
						${box.updateTime}
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2"> <span
						class="c-red"></span>发布时间：
					</label>
					<div class="formControls col-xs-8 col-sm-9">
						${box.pubTime}
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red"></span>
						图片：
					</label>
					<div class="formControls col-xs-8 col-sm-9">
						<c:choose>
							<c:when test="${box.blindBoxPicture != null && box.blindBoxPicture != '' }">
								<a href="${rootPath}${box.blindBoxPicture }" target="_blank">
									<img alt="" src="${rootPath}/${box.blindBoxPicture }" width="100" height="80">
								</a>
							</c:when>
							<c:otherwise>
								<img alt="" src="${rootPath }/img/no_pic.png" width="100" height="80">
							</c:otherwise>
						</c:choose>
					</div>
				</div>
			</form>
		</article>
		<%@ include file="/common/include/footer.jsp"%>
		<script type="text/javascript"></script>
	</body>
</html>